//
//  WebFooterCell.swift
//  KaMengApplication
//
//  Created by DUONIU_MAC on 2018/9/15.
//  Copyright © 2018年 DUONIU_MAC. All rights reserved.
//

import UIKit

class WebFooterCell: UICollectionViewCell {
    
    fileprivate let imageView = UIImageView()
    
    var image : UIImage! {
        didSet{
            imageView.image = image
        }
    }
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        self.contentView.backgroundColor = UIColor.clear
        
        self.contentView.addSubview(imageView)
        
        imageView.snp.makeConstraints { (make) in
            make.center.equalToSuperview()
            make.width.height.equalTo(RATIO_H(maxNum: 20))
        }
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
